package com.csy.user.entity.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author spikeCong
 * @date 2023/5/25
 **/

public class SysUserPost {

    /** 用户ID */
    @TableId(value = "user_id")
    private Long userId;

    /** 岗位ID */
    @TableField(value = "post_id")
    private Long postId;

    public SysUserPost() {
    }

    public SysUserPost(Long userId, Long postId) {
        this.userId = userId;
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }
}
